package com.itheima.threadstructuredemo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@AllArgsConstructor
public class Employee {
    private String name;
    private int getRedPacketNum;
    @Override
    public String toString() {
        return name + "：抢到了 " + getRedPacketNum + " 元";
    }
}
